package cn.edu.nju.software.bean.storage;

import java.sql.Timestamp;
import java.math.BigDecimal;

public class Order {

	private int orderID;
	private int userID;
	private BigDecimal charge;
	private int status;
	private String address;
	private Timestamp submitTime;
	private Timestamp dispatchTime;
	private Timestamp confirmTime;

	public Order(int orderID, int userID, BigDecimal charge, int status,
			String address, Timestamp submitTime, Timestamp dispatchTime,
			Timestamp confirmTime) {
		this.orderID = orderID;
		this.userID = userID;
		this.charge = charge;
		this.status = status;
		this.address = address;
		this.submitTime = submitTime;
		this.dispatchTime = dispatchTime;
		this.confirmTime = confirmTime;
	}

	public int getOrderID() {
		return orderID;
	}

	public void setOrderID(int orderID) {
		this.orderID = orderID;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public BigDecimal getCharge() {
		return charge;
	}

	public void setCharge(BigDecimal charge) {
		this.charge = charge;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Timestamp getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(Timestamp submitTime) {
		this.submitTime = submitTime;
	}

	public Timestamp getDispatchTime() {
		return dispatchTime;
	}

	public void setDispatchTime(Timestamp dispatchTime) {
		this.dispatchTime = dispatchTime;
	}

	public Timestamp getConfirmTime() {
		return confirmTime;
	}

	public void setConfirmTime(Timestamp confirmTime) {
		this.confirmTime = confirmTime;
	}

}
